<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>03v-model</title>
</head>

<body>
    <div id="app">
        精通的语言：<br>
        <input type="checkbox" v-model="language" value="Java">Java
        <br>
        <input type="checkbox" v-model="language" value="PHP">PHP
        <br>
        <input type="checkbox" v-model="language" value="python">python
        <br> 选中了:{{language.join(",")}}
    </div>
    <script src="../node_modules/vue/dist/vue.js"></script>
    <script>
        let vm = new Vue({
            el: "#app",
            data: {
                language: []
            },
            methods: {

            },
        })
    </script>
</body>

</html>